Skip to content

Pressure: Fix last smoothed pressure value - #15668

Merged
wiechula merged 1 commit into
AliceO2Group:devfrom
matthias-kleiner:pressurefix
Aug 10, 2026
Merged

Pressure: Fix last smoothed pressure value#15668
wiechula merged 1 commit into
AliceO2Group:devfrom
matthias-kleiner:pressurefix

Conversation

@matthias-kleiner

Copy link
Copy Markdown
Contributor

The rolling median in makeRobustPressure was computed with a one-sided (past-only) window for the last query time(s) of each ~10-minute processing slot, because no future data existed yet in the buffer. This caused the last value(s) of each slot to lag behind any pressure trend, followed by a visible jump when the next slot started with a symmetric window. Fixed by withholding trailing query points until a 2x-timeInterval look-ahead margin of future data is available, picking them up seamlessly in the next slot.

Also fixes:

  • CCDB objects were uploaded even for slots with no new data for that quantity; now skipped when there's nothing to store.
  • Pressure's CCDB end-validity now anchors on its own last data point plus a margin, instead of mLastCreationTime + generic extension

The rolling median in makeRobustPressure was computed with a one-sided
(past-only) window for the last query time(s) of each ~10-minute processing
slot, because no future data existed yet in the buffer. This caused the
last value(s) of each slot to lag behind any pressure trend, followed by a
visible jump when the next slot started with a symmetric window. Fixed by
withholding trailing query points until a 2x-timeInterval look-ahead margin
of future data is available, picking them up seamlessly in the next slot.

Also fixes:
- CCDB objects were uploaded even for slots with no new data for that
  quantity; now skipped when there's nothing to store.
- Pressure's CCDB end-validity now anchors on its own last data point
  plus a margin, instead of mLastCreationTime + generic extension
@wiechula
wiechula merged commit 115d870 into AliceO2Group:dev Aug 10, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants